<template>
  <div>
    我是sona
    <br>
    <h3>我收到信息：{{ abc }}</h3>

    <button @click="btnClick">我要传值给sonb</button>
  </div>
</template>
<script>
export default {
  inject: ['abc'],
  methods: {
    btnClick() {
      this.$bus.$emit('atob', 123)
    }
  }
}
</script>
<style></style>
